package edu.spec.basic.service.iface;



import edu.spec.basic.model.Command;

import java.util.List;

public interface ICommandService {
    Command add(Command command);
    void delete(int id);
	Command load(int id);
    List<Command> listAllCommand();
	List<Command> listCommandByModule(int moduleId);
    List<Command> listCommandByRoles(List<Integer> roleIds);
    List<Command> listCommandByRole(Integer roleId);
    Command update(Command command);
}
